/*
package com.ruoyi.camera.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import com.ruoyi.camera.service.ApiService;
import java.util.Map;

public class GetTokenController {
    */
/**
     * 获取token
     * * @author xhl
     *//*

    @GetMapping("/getToken")
    public ResponseEntity<Map<String, Object>> getToken() {
        try {
            Map<String, Object> response = apiService.getToken();
            return ResponseEntity.ok(response);
        } catch (Exception e) {
            e.printStackTrace();
            return ResponseEntity.status(500).body(Map.of("error", "Failed to get token"));
        }
    }
}
*/
